load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
load("//bazel:skia_rules.bzl", "exports_files_legacy")

licenses(["notice"])

exports_files_legacy()

go_library(
    name = "compile_wasm_gm_tests_lib",
    srcs = ["compile_wasm_gm_tests.go"],
    importpath = "go.skia.org/skia/infra/bots/task_drivers/compile_wasm_gm_tests",
    visibility = ["//visibility:private"],
    deps = [
        "@com_google_cloud_go_storage//:storage",
        "@org_skia_go_infra//go/auth",
        "@org_skia_go_infra//go/skerr",
        "@org_skia_go_infra//task_driver/go/lib/auth_steps",
        "@org_skia_go_infra//task_driver/go/lib/docker",
        "@org_skia_go_infra//task_driver/go/lib/os_steps",
        "@org_skia_go_infra//task_driver/go/td",
    ],
)

go_binary(
    name = "compile_wasm_gm_tests",
    embed = [":compile_wasm_gm_tests_lib"],
    visibility = ["//visibility:public"],
)
